import { http } from "@/utils/http";

export const getClassList = () => {
  return http.get("/classes/list");
};

export const addClasses = (data: object) => {
  return http.post("/classes/add", { data });
};

export const updateClasses = (data: object) => {
  return http.post("/classes/update", { data });
};

export const delClasses = (data: object) => {
  return http.post("/classes/delete", { data });
};
